<template>
  <div>
    <h2>属性绑定指令</h2>
    <img v-bind:src="url" alt="">
    <img :src="url" alt="">
    <input type="text" :value='abc+"world"'>
  </div>
</template>

<script>
export default {
  data(){
    return{
      abc:'hello',
      url:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.dtstatic.com%2Fuploads%2Fitem%2F201603%2F21%2F20160321200847_mfLzA.thumb.1000_0.jpeg&refer=http%3A%2F%2Fc-ssl.dtstatic.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1673685783&t=94a939256e5251a320f97a85f9d37dca'
    }
  }

}
</script>

<style>

</style>
